//
//  RMMYanZhiTableViewCell.m
//  Romomo
//
//  Created by puman on 16/10/10.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMYanZhiTableViewCell.h"

@implementation RMMYanZhiTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, 200, 49)];
        _titleLabel.text = @"可使用颜值分抵扣";
        _titleLabel.font = kFont(16);
        _titleLabel.textColor = COLORFROMCODE(0x2C2C2C, 1);
        [self.contentView addSubview:_titleLabel];
        
        _mySwitch = [[UISwitch alloc] initWithFrame:CGRectMake(kScreenWideth - 65, 7, 50, 35)];
        _mySwitch.onTintColor = COLORFROMCODE(0x53C7C6, 1);
        [self.contentView addSubview:_mySwitch];
        
        UILabel *lineLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, kScreenWideth - 15, 0.5)];
        lineLabel.backgroundColor = RGBA(221, 221, 221, 1);
        [self.contentView addSubview:lineLabel];

    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
